#!/usr/bin/python
# -*- coding: utf-8 -*-

# class A(object):
#     def __init__(self):
#         self.n = 1
#
#     def print_info(self):
#         print(self.n)
#
# #创建一个子类B
# class B(A):
#     pass
#
#
#
# if __name__ == '__main__':
#     a = B()
#     print(a.n)
#     a.print_info()



class Master(object):
    def __init__(self):
        self.kongfu = ['五香煎饼果子配方']

    def make_cake(self):
        print('运用{0}制作煎饼果子'.format(self.kongfu))

class Prentice(Master):
    pass



if __name__ == '__main__':
    result = Prentice()
    result.make_cake()

